package com.woniu.product.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * packageName com.woniu.product.dto
 *
 * @author zxyang3636
 * @version JDK 8
 * @className CouponAddDTO
 * @date 2024/8/10
 * @description TODO
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CouponAddDTO {
    private String couponName;
    private BigDecimal usageAmount;
    private BigDecimal value;
    private Integer total;
    private List<String> productId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    private String condition;
}
